home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / windows / games / 256pbx.exe / ERRORS.H < prev    next >
Text File  |  1991-10-07  |  2KB  |  39 lines

  1.  
  2.  
  3. enum {
  4.       ERR_MIN = 0,                     // All error #s >= this value
  5.       ERR_NOT_DIB = 0,                 // Tried to load a file, NOT a DIB!
  6.       ERR_MEMORY,                      // Not enough memory!
  7.       ERR_READ,                        // Error reading file!
  8.       ERR_LOCK,                        // Error on a GlobalLock()!
  9.       ERR_OPEN,                        // Error opening a file!
  10.       ERR_CREATEPAL,                   // Error creating palette.
  11.       ERR_GETDC,                       // Couldn't get a DC.
  12.       ERR_CREATECHILD,                 // Error creating MDI child.
  13.       ERR_CREATEDDB,                   // Error create a DDB.
  14.       ERR_STRETCHBLT,                  // StretchBlt() returned failure.
  15.       ERR_STRETCHDIBITS,               // StretchDIBits() returned failure.
  16.       ERR_NODIBORDDB,                  // Error painting -- need BOTH DDB & DIB.
  17.       ERR_SETDIBITSTODEVICE,           // SetDIBitsToDevice() failed.
  18.       ERR_STARTDOC,                    // Error calling StartDoc().
  19.       ERR_NOGDIMODULE,                 // Couldn't find GDI module in memory.
  20.       ERR_SETABORTPROC,                // Error calling SetAbortProc().
  21.       ERR_STARTPAGE,                   // Error calling StartPage().
  22.       ERR_NEWFRAME,                    // Error calling NEWFRAME escape.
  23.       ERR_ENDPAGE,                     // Error calling EndPage().
  24.       ERR_ENDDOC,                      // Error calling EndDoc().
  25.       ERR_ANIMATE,                     // Only one DIB animated @ a time.
  26.       ERR_NOTIMERS,                    // No timers avail for pal animation.
  27.       ERR_NOCLIPWINDOW,                // Now current window for clipboard.
  28.       ERR_CLIPBUSY,                    // Clipboard is busy.
  29.       ERR_NOCLIPFORMATS,               // During paste can't find DIB or DDB.
  30.       ERR_SETDIBITS,                   // Error calling SetDIBits().
  31.       ERR_FILENOTFOUND,                // Error opening file in GetDib()
  32.       ERR_WRITEDIB,                    // Error writing DIB file.
  33.       ERR_MAX                          // All error #s < this value
  34.      };
  35.  
  36.  
  37. void DIBError (int ErrNo);
  38. 
  39.